package com.bulletelc.apollopre.module.main.center.intention;

import com.bulletelc.apollopre.framework.IPresenter;
import com.bulletelc.apollopre.framework.IView;

/**
 * Created by Administrator on 2018/5/15.
 */

public interface IntentionContract {

    interface View extends IView {
        void onSuccessCommit();
        void onErrorCommit(String error);
        void onFailCommit(String fail);

        void onSuccessCheckAddress(boolean b);
        void onFailCheckAddress(String fail);
        void onErrorCheckAddress(String error);
    }

    interface Presenter extends IPresenter<View> {
        void commit(String json);
        void checkAddress(String cityId);
    }
}
